package com.fileCenter.dao;

import java.util.List;
import java.util.Map;

import com.fileCenter.exception.FileCenterException;
import com.fileCenter.pojo.Model;

public interface ModelDAO {
	
	Model queryByName (String name) throws FileCenterException; 
	
	Model queryById(long userId) throws FileCenterException; 
	
	void update(Model model) throws FileCenterException;
	
	List<Model> queryByAttr (Map<String, Object> attrNameAndValueMap)  throws FileCenterException;

	List<Model> getByIds(List<Long> ids);

}
